using Simple.Contracts.Models;
using Simple.Contracts.Models.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Contracts.Contracts
{
    /// <summary>
    /// 照护任务服务接口
    /// </summary>
    public interface ICareMissionService
    {
        /// <summary>
        /// 获取照护任务列表
        /// </summary>
        /// <returns>照护任务列表</returns>
        Task<Result<List<CareMissionDto>>> List();

        /// <summary>
        /// 保存照护任务信息
        /// </summary>
        /// <param name="input">照护任务保存输入参数</param>
        /// <returns>保存结果</returns>
        Task<Result<long>> Save(CareMissionSaveInput input);

        /// <summary>
        /// 删除照护任务
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<Result<bool>> Delete(long id);
    }
}